import request from '@/utils/request'

// 查询雷达传感器数据列表
export function listRadarSensor(query) {
  return request({
    url: '/system/radarSensor/list',
    method: 'get',
    params: query
  })
}

// 查询雷达传感器数据详细
export function getRadarSensor(id) {
  return request({
    url: '/system/radarSensor/' + id,
    method: 'get'
  })
}

// 新增雷达传感器数据
export function addRadarSensor(data) {
  return request({
    url: '/system/radarSensor',
    method: 'post',
    data: data
  })
}

// 修改雷达传感器数据
export function updateRadarSensor(data) {
  return request({
    url: '/system/radarSensor',
    method: 'put',
    data: data
  })
}

// 删除雷达传感器数据
export function delRadarSensor(id) {
  return request({
    url: '/system/radarSensor/' + id,
    method: 'delete'
  })
}
